package com.longteng.TestFour;


import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;


/**
 * 采购模块策略工厂
 */

public class KehuTypeStrategyFactory {


    Map<String, CuxiaoanService> cuxiaoanService = new ConcurrentHashMap<>(10);


    public CuxiaoanService getStrategy(String code) {
        String serviceName = KehuType.getServiceName(code);
        CuxiaoanService strategy = cuxiaoanService.get(serviceName);
        if (strategy == null) {

        }
        return strategy;
    }


}
